package com.lxhll.personnel.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * (ResignEmployeeDao.xml)表实体类
 *
 * @author makejava
 * @since 2021-07-24 10:15:42
 */
@Data
@TableName("resign_employee")
public class ResignEmployee implements Serializable {
    //离职表id
    private Integer id;
    //离职日期
    private LocalDate resignDate;
    //离职的员工id
    private Integer employeeId;
    //离职的员工实体详情
    @TableField(exist = false)
    private Employee employee;


    //离职类型（主动辞职，辞退。。退休
    private String type;
    //离职原因
    private String reason;

}
